<%@ Page Language="C#" MasterPageFile="~/MainMaster.master" AutoEventWireup="true" CodeFile="myRating.aspx.cs" Inherits="DashBoard_myRating" Title="Untitled Page" %>

<%@ Register Src="../includes/Rating.ascx" TagName="Rating" TagPrefix="uc3" %>
<%@ Register Src="../includes/showRateforMyRating.ascx" TagName="showRate" TagPrefix="uc1" %>
<%@ Register Src="../includes/myAccount.ascx" TagName="myAccount" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" runat="Server">
    <div class="heading_inner">
        <div class="heading_topic">
            <h2>My Ratings</h2>
        </div>
    </div>

    <div class="cl"></div>



    <div class="account_new">

        <div class="acc_nav">
         

            <uc2:myAccount ID="myAccount1" runat="server" />
        </div>




        <div class="part_1_blog">
            <div class="heading_account">
                <h2>Welcome,</h2>
                <h3><%=Session["LoginName"]%></h3>

            </div>
            <div class="upper_acc">

                <div class="lft_up_acc"></div>
                <div class="center_stroke_acc">
                    <div class="form_head_acc">Ratings</div>
                </div>
                <div class="right_up_acc"></div>
            </div>

            <div class="doc_pass_acc">

                <table width="549" border="0" align="center" cellpadding="0" cellspacing="0">
                             
                                <!--Add -->
                                <tr>
                                    <td align="center">
                                        <asp:Label ID="lblMsg" runat="server"></asp:Label>
                                    </td>
                                </tr>

                                <tr>
                                    <td align="left">
                                        <asp:Label ID="lblDoctor" runat="server"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td valign="top" align="left" style="width: 95%">
                                        <br />
                                        <asp:GridView ID="grdMyRating" runat="server" AutoGenerateColumns="False"
                                            BorderStyle="None" BorderWidth="0px" CellPadding="5" CssClass="normalgrey_12"
                                            ShowFooter="True" Width="95%" GridLines="None" AllowPaging="True">
                                            <FooterStyle HorizontalAlign="Left" />
                                            <Columns>
                                                <asp:TemplateField HeaderText="Patient">
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle Width="10%" VerticalAlign="Top" />
                                                    <ItemTemplate>
                                                        <%# Eval("DocName")%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Office staff">
                                                    <ItemStyle Width="13%" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemTemplate>
                                                        <uc1:showRate ID="ShowRate1" runat="server" totalScore="2.5" rate='<%# Bind("Off_Staff") %>' />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Office Setting">
                                                    <ItemStyle Width="13%" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemTemplate>
                                                        <uc1:showRate ID="ShowRate1" runat="server" totalScore="2.5" rate='<%# Bind("Off_Setting") %>' />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Wait Time">
                                                    <ItemStyle Width="13%" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemTemplate>
                                                        <uc1:showRate ID="ShowRate1" runat="server" totalScore="2.5" rate='<%# Bind("Wait_Time") %>' />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Medical Knowledge">
                                                    <ItemStyle Width="13%" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemTemplate>
                                                        <uc1:showRate ID="ShowRate1" runat="server" totalScore="2.5" rate='<%# Bind("Med_knw") %>' />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <%-- <asp:TemplateField HeaderText="Beside Manner">                                    
                                    <ItemStyle Width="13%" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                    <ItemTemplate>                                                                            
                                        <uc1:showRate ID="ShowRate1" runat="server" totalScore="2.5" rate='<%# Bind("Bed_Mnr") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField> --%>
                                                <asp:TemplateField HeaderText="Patient Confidence">
                                                    <ItemStyle Width="13%" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemTemplate>
                                                        <uc1:showRate ID="ShowRate1" runat="server" totalScore="2.5" rate='<%# Bind("Pat_Confidence") %>' />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Patient Satisfaction">
                                                    <ItemStyle Width="12%" Font-Bold="True" HorizontalAlign="Left" Wrap="False" />
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemTemplate>
                                                        <uc1:showRate ID="ShowRate1" runat="server" totalScore="5" rate='<%# Bind("Pat_Satisfy") %>' />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <RowStyle HorizontalAlign="Left" />
                                            <PagerStyle BorderStyle="None" HorizontalAlign="Right" VerticalAlign="Top" />
                                            <HeaderStyle BackColor="Lavender" HorizontalAlign="Center" />
                                        </asp:GridView>
                                    </td>
                                </tr>

                                <!--Add end -->
                                <tr>
                                    <td align="left" class="bodytxt" style="width: 516px; height: 8px;">
                                        <img src="../images/spacer.gif" alt="" width="8" height="8" /></td>
                                </tr>

                            </table>


            </div>
        </div>
    </div>


</asp:Content>
